package com.ee.chat.common.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ee.chat.common.entity.UserVipLog;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * Mapper接口
 * </p>
 *
 * @author Shane
 * @since 2019-09-05
 */
public interface UserVipLogMapper extends BaseMapper<UserVipLog> {
    /**
     *
     * @Author Shane
     * @Date 2019/10/6 0:22
     * @param
     * @return
     */
    UserVipLog selectByOrderNumber(@Param("orderNumber") String orderNumber);

    /**
     * 查询用户最新一条会员记录
     * @Author AppiJ
     * @Date 2021/3/1 14:03
     * @param
     * @return
     */
    UserVipLog queryLastVipLogByUserId(@Param("userId") Integer userId);
}